package com.leyou.item.service;

import com.leyou.common.pojo.PageResult;
import com.leyou.item.pojo.Brand;

import java.util.List;

public interface BrandService {
    PageResult<Brand> page(Integer currentPage, Integer pageSize,String sortBy,Boolean desc,String search);

    void addBrand(Brand brand, List<Long> cids);

    void updateBrand(Brand brand, List<Long> cids);

    Brand queryBrandById(Long brandId);

    List<Brand> queryBrandByCategory(Long cid);

    Brand queryBrandByBid(Long brandId);
}
